package old.day03;

public class IfDemo {
    public static void main(String[] args) {
        int num=20;
        if (num%2==0){
            System.out.println(num+"是偶数");
        }
        System.out.println("继续执行");
        int price=400;
        if (price>=500){
            price*=0.8;
        }
        System.out.println("最终价格为"+price);























    }
}
